<div class="span3 mb20">
	<a class="thumbnail" href="<?=Yii::app()->controller->createUrl('/album/view/photo', array('id' => $data->pid))?>">
		<img src="<?=$data->getThumb($data->path, 'thumb', true)?>" />
	</a>
</div>